package com.xjoyt.pay.master.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

import com.xjoyt.pay.abstracts.AbstractService;
import com.xjoyt.pay.dto.PageParam;
import com.xjoyt.pay.dto.PageResult;
import com.xjoyt.pay.master.params.DistributorCheckoutPageParam;
import com.xjoyt.pay.master.po.DistributorCheckout;
import com.xjoyt.pay.master.repository.DistributorCheckoutRepository;

@Service
public class DistributorCheckoutService extends AbstractService {

	@Autowired
	private DistributorCheckoutRepository repository;

	public PageResult<DistributorCheckout> loadPage(@RequestBody PageParam<DistributorCheckoutPageParam> param) {
		return repository.loadPage(param);
	}

}
